package com.gator.desig_mode.command;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc
 */
public class Test {

  public static void main(String[] args) {
    Test test = new Test();
    test.pring();
  }


  public void pring() {
    get();

  }

  public void get() {
    int b = 15;

    class Inner {

      private int a = 10;

      public int innerGet() {
        return a + b;
      }
    }

    Inner inner = new Inner();
    int i = inner.innerGet();
    System.out.println("内部类的执行结果" + i);


  }

}
